package dynaspring;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.springframework.context.ConfigurableApplicationContext;

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface ModuleInterface {

	String[] parentContextLocations() default {};
	String[] contextLocations() default {};
	Class<? extends ConfigurableApplicationContext> contextClass() default DynamicRefreshableApplicationContext.class;
	String initMethod() default "";
	String destroyMethod() default "";
	
}
